package com.zkca.xf.model.javabean;

import java.util.List;

/**
 * Created by li on 2018/9/18.
 */

public class DeviceType {

    /**
     * result : 0
     * info : OK
     * action : 0
     * totalRow : 5
     * totalpage : 1
     * pageNum : 1
     * pageSize : 1
     * size : 5
     * data : [{"typeName":"电梯控制柜","typeId":"5"},{"typeName":"送风口","typeId":"4"},{"typeName":"灭火器材","typeId":"3"},{"typeName":"防火门","typeId":"2"},{"typeName":"室内消防栓箱","typeId":"1"}]
     */

    private int result;
    private String info;
    private int action;
    private int totalRow;
    private int totalpage;
    private int pageNum;
    private int pageSize;
    private int size;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getAction() {
        return action;
    }

    public void setAction(int action) {
        this.action = action;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getTotalpage() {
        return totalpage;
    }

    public void setTotalpage(int totalpage) {
        this.totalpage = totalpage;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * typeName : 电梯控制柜
         * typeId : 5
         */

        private String typeName;
        private String typeId;

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public String getTypeId() {
            return typeId;
        }

        public void setTypeId(String typeId) {
            this.typeId = typeId;
        }
    }
}
